home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / vista / makefile next >
Makefile  |  1992-02-25  |  1KB  |  44 lines

  1. # Vista Header ----- 9 Sep 91 ---------------------------------------------
  2. #+-------------------------------------------------------------------------+
  3. #| Vista installation variables are defined in the top level directory,    |
  4. #| README file.  They are defined here for piecewise compilation and       |
  5. #| development, but when Vista is installed they are overridden from       |
  6. #| from the above level.                                                   |
  7. #+-------------------------------------------------------------------------+
  8. VISTA_TOP = /sp2/user18/visualization/vista
  9. V_BIN     = ${VISTA_TOP}/bin
  10. V_DATA     = ${VISTA_TOP}/data
  11.  
  12. V_CC     = cc
  13. V_CFLAGS = -g -D_VFORK
  14. V_FORTRAN= f77
  15. V_FFLAGS = -g
  16. V_LIB     = ${VISTA_TOP}/lib
  17. V_INC     = ${VISTA_TOP}/include
  18. X_CFLAGS = -D_NO_PROTO
  19. X_LIB    = -lXt -lX11 -lXmu
  20. MOTIF_LIB= -lXm
  21.  
  22. MACHINE  = SPARC
  23.  
  24. INSTALL_LIB    = ${VISTA_TOP}/lib/libvista.a
  25.  
  26. MACROS = "VISTA_TOP=${VISTA_TOP}" "V_BIN=${V_BIN}" "V_DATA=${V_DATA}" \
  27.      "V_CFLAGS=${V_CFLAGS}" "V_LIB=${V_LIB}"  "V_INC=${V_INC}"    \
  28.      "MACHINE=${MACHINE}" "INSTALL_LIB=${INSTALL_LIB}"
  29. XMACROS= "X_CFLAGS=${X_CFLAGS}" "X_LIB=${X_LIB}" "MOTIF_LIB=${MOTIF_LIB}"
  30. MAKE    = make
  31.  
  32. # End Header ---------------------------------------------------------------
  33.  
  34. all:
  35.     (cd src; ${MAKE} ${MACROS} all)
  36.  
  37. clean:
  38.     (cd src; ${MAKE} clean)
  39.  
  40. clean_all: clean
  41.     (cd ./lib; rm -f libvista.a libae.a libav.a libsocket.a libdd.a)
  42.     (cd ./bin; rm -f ae_dm vm_dm vista)
  43.     (cd src; ${MAKE} clean_all)
  44.